--- /dev/null
+From 19bd6a5bf8e06e5bfa3b331e0aa8c6f9fa7e3459 Mon Sep 17 00:00:00 2001
+Date: Mon, 7 Jul 2025 14:03:49 +0100
+Subject: [PATCH] ssh: set correct lengths for sigma and tau
+
+---
+ plugins/ssh-base/crypto/chacha.c | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+--- a/plugins/ssh-base/crypto/chacha.c
++++ b/plugins/ssh-base/crypto/chacha.c
+@@ -59,8 +59,8 @@ typedef struct chacha_ctx chacha_ctx;
+ a = PLUS(a,b); d = ROTATE(XOR(d,a), 8); \
+ c = PLUS(c,d); b = ROTATE(XOR(b,c), 7);
+
+-static const char sigma[16] = "expand 32-byte k";
+-static const char tau[16] = "expand 16-byte k";
++static const char sigma[17] = "expand 32-byte k";
++static const char tau[17] = "expand 16-byte k";
+
+ void
+ chacha_keysetup(chacha_ctx *x,const u8 *k,u32 kbits)